package com.dimples.system.vo;

import com.baomidou.mybatisplus.annotation.TableField;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户
 *
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2021/6/25
 */
@ApiModel(value = "com-dimples-system-entity-User")
@Data
public class UserVO {

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "姓名")
    private String realName;

    @ApiModelProperty(value = "部门ID")
    private Long deptId;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "联系电话")
    private String mobile;

    @ApiModelProperty(value = "状态 0锁定 1有效")
    private String status;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date modifyTime;

    @ApiModelProperty(value = "最近访问时间")
    private Date lastLoginTime;

    @ApiModelProperty(value = "性别 0女 1男")
    private String ssex;

    @ApiModelProperty(value = "主题")
    private String theme;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "科室名称")
    private String deptName;

    @ApiModelProperty(value = "默认角色id")
    private Long roleId;

    @TableField(exist = false)
    @ApiModelProperty(value = "默认角色名称")
    private String roleName;
}